﻿using MetricTime;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace TestProject1
{
    
    
    /// <summary>
    ///This is a test class for MetricDateTimeTest and is intended
    ///to contain all MetricDateTimeTest Unit Tests
    ///</summary>
    [TestClass()]
    public class MetricDateTimeTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        ///// <summary>
        /////A test for day
        /////</summary>
        //[TestMethod()]
        //public void dayTest()
        //{
        //    DateTime AnalogTime = new DateTime(2010, 4, 29, 0, 0, 1);
        //    MetricDateTime target = new MetricDateTime(AnalogTime); // TODO: Initialize to an appropriate value
        //    double expected = 0F; // TODO: Initialize to an appropriate value
        //    double actual;

        //    actual = target.day;
        //    Assert.AreEqual(expected, actual);
        //    Assert.Inconclusive("Verify the correctness of this test method.");
        //}

        ///// <summary>
        /////A test for centiday
        /////</summary>
        //[TestMethod()]
        //public void centidayTest()
        //{
        //    DateTime AnalogTime = new DateTime(2010, 4, 29, 12, 0, 0);
        //    MetricDateTime target = new MetricDateTime(AnalogTime); 
        //    double expected = 50.0F; 
        //    double actual;

        //    actual = target.centiday;
        //    Assert.AreEqual(expected, actual);
        //}

        ///// <summary>
        /////A test for ToString
        /////</summary>
        //[TestMethod()]
        //public void ToStringTest()
        //{
        //    DateTime AnalogTime = new DateTime(2010, 4, 29, 12, 0, 0);
        //    MetricDateTime target = new MetricDateTime(AnalogTime);

        //    string expected = "50.000 UMT";
        //    string actual;
        //    actual = target.ToString();
        //    Assert.AreEqual(expected, actual);
        //}
    }
}
